Skip to content

Commit

Permalink
[auth] Simplify order token test in OrdersControllerSpec + unpenderize
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Feb 3, 2012
1 parent 1c9b99d commit a0d9ffe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions auth/spec/controllers/orders_controller_spec.rb
Expand Up @@ -8,9 +8,7 @@
let(:order) { Spree::Order.new }

it 'should understand order routes with token' do
pending("Unknown how to make this work within the scope of an engine again")
assert_routing('/orders/R123456/token/ABCDEF', {:controller => 'orders', :action => 'show', :id => 'R123456', :token => 'ABCDEF'})
token_order_path('R123456', 'ABCDEF').should == '/orders/R123456/token/ABCDEF'
spree.token_order_path('R123456', 'ABCDEF').should == '/orders/R123456/token/ABCDEF'
end

before do
Expand Down

0 comments on commit a0d9ffe

Please sign in to comment.