Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Add constoroller spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 24, 2016
1 parent 3a3c648 commit 4280d27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
9 changes: 4 additions & 5 deletions spec/app/controllers/company_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
require 'spec_helper'

RSpec.describe "/company" do
pending "add some examples to #{__FILE__}" do
describe "get /" do
before do
get "/company"
create_list(:company, 5)
get "/"
end

it "returns hello world" do
expect(last_response.body).to eq "Hello World"
end
it { expect(last_response.status).to eq 200 }
end
end
13 changes: 0 additions & 13 deletions spec/app/helpers/company_helper_spec.rb

This file was deleted.

0 comments on commit 4280d27

Please sign in to comment.