spec/lib/appsignal/capistrano2_spec.rb in appsignal-0.12.rc.12 vs spec/lib/appsignal/capistrano2_spec.rb in appsignal-0.12.rc.13
- old
+ new
@@ -167,10 +167,16 @@
end
it "should not send deploy marker" do
Appsignal::Marker.should_not_receive(:new)
@capistrano_config.find_and_execute_task('appsignal:deploy')
- @io.string.should include("Not loading: config for 'nonsense' not found")
+ @io.string.encode(
+ 'UTF-8',
+ 'binary',
+ :invalid => :replace,
+ :undef => :replace,
+ :replace => ''
+ ).should include("config for 'nonsense' not found")
end
end
end
end
end