spec/requests/eastwood_spec.rb in eastwood-0.4.0 vs spec/requests/eastwood_spec.rb in eastwood-0.5.0

- old
+ new

@@ -17,14 +17,11 @@ its( :status ){ should eq( 200 ) } its( :content_type ){ should eq( 'text/javascript' ) } end describe 'eastwood_engine_path' do - it 'should be defined' do - context.eval( "typeof #{routes}.eastwood_engine_path" ).should eq( 'function' ) - end - it 'should return the correct route' do - context.call( "#{routes}.eastwood_engine_path" ).should eq( '/eastwood' ) + it 'should not be defined' do + context.eval( "typeof #{routes}.eastwood_engine_path" ).should eq( 'undefined' ) end end describe 'match_path' do it 'should be defined' do