spec/ramaze/controller/resolve.rb in manveru-ramaze-2009.05.08 vs spec/ramaze/controller/resolve.rb in manveru-ramaze-2009.06
- old
+ new
@@ -11,10 +11,10 @@
define_method('path__to__js__file.js'){ 'file.js' }
define_method('other__greet__other'){ @greet = 'hi' }
end
describe 'Controller resolving' do
- behaves_like :mock
+ behaves_like :rack_test
it 'should work with .' do
get('/file.ext').body.should == 'file.ext'
end