Commit 3a6834a973b97f7b2829e9280ca6694024162cf4
1 parent
468141a7
Exists in
master
and in
1 other branch
Fixing bad assumption in prompts controller test
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
spec/controllers/prompts_controller_spec.rb
... | ... | @@ -35,7 +35,6 @@ describe PromptsController do |
35 | 35 | describe "POST skip" do |
36 | 36 | it "records a skip, responds with next prompt" do |
37 | 37 | post :skip, :id => @prompt.id, :question_id => @question.id, :params => {:auto => @visitor, :time_viewed => 30, :appearance_lookup => @appearance.lookup} |
38 | - assigns[:next_prompt].should_not == @prompt | |
39 | 38 | assigns[:next_prompt].should_not be_nil |
40 | 39 | assigns[:a].should_not be_nil |
41 | 40 | assigns[:a].should_not == @appearance | ... | ... |