Displaying 2 results from an estimated 2 matches for "site_controller_spec".
Did you mean:
citie_controller_spec
2011 Jul 25
7
Adding a folder to my rspec execution path
Hi guys,
I''m using RSpec with Capybara, and for that I created the
spec/integration folder. But when I execute the command "bundle exec
rspec spec" RSpec don''t execute my files on integration folder. I need
to pass each file to solve this problem.
Do you known how I can put the integration folder on rspec execution
path without need to pass each file?
Thanks,
Pablo
2010 Oct 20
1
Routing errors with Rails 3.0.1 and Rspec 2.0.1
...n tons of
failures that say things like, to take a simple case:
113) SiteController GET ''about'' should be successful
Failure/Error: get ''about''
No route matches {:action=>"about", :controller=>"site"}
# ./spec/controllers/site_controller_spec.rb:21
Here''s the spec:
describe "GET ''about''" do
it "should be successful" do
get ''about''
response.should be_success
end
end
And the defined route showing up in rake routes
about GET /
about(.:format)
{:...