test/twin/skip_unchanged_test.rb in disposable-0.4.6 vs test/twin/skip_unchanged_test.rb in disposable-0.4.7

- old
+ new

@@ -51,14 +51,14 @@ song_with_composer.instance_eval { def title=; raise; end } twin.sync # unchanged, and no exception raised. - album.name.must_equal "30 Years Live" - song_with_composer.title.must_equal "American Jesus" - artist.name.must_equal "Bad Religion" + expect(album.name).must_equal "30 Years Live" + expect(song_with_composer.title).must_equal "American Jesus" + expect(artist.name).must_equal "Bad Religion" # this actually got synced. - song_with_composer.composer.name.must_equal "Greg Graffin" # was nil. - song.title.must_equal "Resist Stance" # was nil. + expect(song_with_composer.composer.name).must_equal "Greg Graffin" # was nil. + expect(song.title).must_equal "Resist Stance" # was nil. end -end \ No newline at end of file +end