Changeset [754357657947d58d7832b46b8767f535f542d9d3] by Marcos Piccinini

May 9th, 2015 @ 08:50 PM

Convert specs to RSpec 3.2.3 syntax with Transpec

This conversion is done by Transpec 3.1.0 with the following command:
transpec spec -f

  • 73 conversions from: obj.should to: expect(obj).to

  • 43 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message)

  • 6 conversions from: == expected to: eq(expected)

  • 3 conversions from: lambda { }.should to: expect { }.to

  • 2 conversions from: obj.should_not to: expect(obj).not_to

  • 1 conversion from: lambda { }.should_not to: expect { }.not_to

For more details: https://github.com/yujinakayama/transpec#supported-conversions
https://github.com/nofxx/subtitle_it/commit/754357657947d58d7832b46...

Committed by Marcos Piccinini

  • M ".gitignore"
  • M spec/subtitle_it/bin_spec.rb
  • M spec/subtitle_it/formats/mpl_spec.rb
  • M spec/subtitle_it/formats/rsb_spec.rb
  • M spec/subtitle_it/formats/srt_spec.rb
  • M spec/subtitle_it/formats/sub_spec.rb
  • M spec/subtitle_it/formats/xml_spec.rb
  • M spec/subtitle_it/formats/yml_spec.rb
  • M spec/subtitle_it/movie_hasher_spec.rb
  • M spec/subtitle_it/movie_spec.rb
  • M spec/subtitle_it/subdown_spec.rb
  • M spec/subtitle_it/subline_spec.rb
  • M spec/subtitle_it/subtime_spec.rb
  • M spec/subtitle_it/subtitle_spec.rb
  • M spec/subtitle_it_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Subtitle It