Added rspec testing. It should work, but doesn't for unknown reasons
This commit is contained in:
1 parent
e1f5bd3950
commit
260d0d1268
5 files changed
+58
No files matched your search
@@ -0,0 +1,14 @@
|
||||
require_relative '../spec_helper'
|
||||
|
||||
RSpec.describe IndexRoutes do
|
||||
|
||||
def app
|
||||
IndexRoutes
|
||||
end
|
||||
|
||||
it "Dashboard returns 200" do
|
||||
get '/'
|
||||
expect(last_response).to be_ok
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user