Created
November 14, 2012 02:37
-
-
Save ajwinn/4069934 to your computer and use it in GitHub Desktop.
Result of running Rspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
administrator$ rspec spec/controllers/movies_controller_spec.rb | |
.** | |
Pending: | |
MoviesController searching TMDb should select the Search Results template for rendering | |
# Not yet implemented | |
# ./spec/controllers/movies_controller_spec.rb:10 | |
MoviesController searching TMDb should make the TMDb search results available to that template | |
# Not yet implemented | |
# ./spec/controllers/movies_controller_spec.rb:11 | |
Finished in 0.44454 seconds | |
3 examples, 0 failures, 2 pending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe MoviesController do | |
describe 'searching TMDb' do | |
it 'should call the model method that performs TMDb search' do | |
Movie.should_receive(:find_in_tmdb).with('hardware') | |
post :search_tmdb,{:search_terms => 'hardware'} | |
end | |
it 'should select the Search Results template for rendering' | |
it 'should make the TMDb search results available to that template' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment