Permalink
Browse files

show specs should use show number param

  • Loading branch information...
1 parent 9ba7df7 commit 3bd9ecd6c2a2b5f2c8b927fedc8187178b19cae7 @tardate committed Jan 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/controllers/shows/mobile_spec.rb
  2. +1 −1 spec/controllers/shows/stats_spec.rb
@@ -17,7 +17,7 @@
end
describe "GET show" do
- subject { get :show, :id => resource.id }
+ subject { get :show, :id => resource.number }
it { should be_success }
end
@@ -5,7 +5,7 @@
let(:resource) { Factory(:show) }
describe "GET :stat.json" do
- subject { get :stat, :id => resource.id, :format => 'json' }
+ subject { get :stat, :id => resource.number, :format => 'json' }
it { should be_success }
end

0 comments on commit 3bd9ecd

Please sign in to comment.