spec/integration/yardcheck_spec.rb in yardcheck-0.0.2 vs spec/integration/yardcheck_spec.rb in yardcheck-0.0.3

- old
+ new

@@ -40,11 +40,13 @@ expect_report('WARNING: Unabled to resolve :foo for lib/test_app.rb:122') end it 'reports expectations' do aggregate_failures do - expect_report('Expected TestApp::Namespace#add to return String but observed Fixnum') - expect_report('Expected #<Class:TestApp::Namespace>#add to return String but observed Fixnum') + expect_report('Expected TestApp::Namespace#add to return String but observed Integer') + expect_report( + 'Expected #<Class:TestApp::Namespace>#add to return String but observed Integer' + ) expect_report( 'Expected TestApp::Namespace#documents_relative ' \ 'to return TestApp::Namespace::Child but observed String' ) expect_report(