spec/innate/node/node.rb in manveru-innate-2009.05 vs spec/innate/node/node.rb in manveru-innate-2009.06
- old
+ new
@@ -75,10 +75,10 @@
alias_view :aliased, :bar
end
describe 'Innate::Node' do
- behaves_like :mock
+ behaves_like :rack_test
should 'respond with 404 if no action was found' do
got = Innate::Mock.get('/does_not_exist')
got.status.should == 404
got.body.should == 'No action found at: "/does_not_exist"'