Permalink
Browse files

Convert conference session year to integer before comparin in control…

…ler spec
  • Loading branch information...
1 parent bbfee9f commit 0ddc776bca0079d51ed875a9bb2264f1c4ab3f96 @senior senior committed Mar 22, 2013
@@ -69,7 +69,7 @@
end
it '#year gets its year from the year param' do
- controller.year.should == Time.now.year - 1
+ controller.year.to_i.should == Time.now.year - 1
end
end
end

0 comments on commit 0ddc776

Please sign in to comment.