1. 14 Aug, 2019 5 commits
  2. 13 Aug, 2019 3 commits
  3. 12 Sep, 2018 1 commit
  4. 12 Oct, 2017 1 commit
  5. 02 Oct, 2017 1 commit
  6. 28 Jun, 2017 2 commits
    • Alexandre Friquet's avatar
      Convert specs to RSpec 3.5.4 syntax with Transpec · 8d6c87ad
      Alexandre Friquet authored
      This conversion is done by Transpec 3.3.0 with the following command:
          transpec
      
      * 705 conversions
          from: obj.should
            to: expect(obj).to
      
      * 292 conversions
          from: == expected
            to: eq(expected)
      
      * 108 conversions
          from: obj.should_not
            to: expect(obj).not_to
      
      * 99 conversions
          from: it { should ... }
            to: it { is_expected.to ... }
      
      * 12 conversions
          from: it { should_not ... }
            to: it { is_expected.not_to ... }
      
      * 12 conversions
          from: obj.should_receive(:message)
            to: expect(obj).to receive(:message)
      
      * 10 conversions
          from: obj.stub(:message)
            to: allow(obj).to receive(:message)
      
      * 1 conversion
          from: Klass.any_instance.stub(:message => value)
            to: allow_any_instance_of(Klass).to receive_messages(:message => value)
      
      * 1 conversion
          from: Klass.any_instance.stub(:message)
            to: allow_any_instance_of(Klass).to receive(:message)
      
      * 1 conversion
          from: obj.should_not_receive(:message)
            to: expect(obj).not_to receive(:message)
      
      * 1 conversion
          from: obj.stub_chain(:message1, :message2)
            to: allow(obj).to receive_message_chain(:message1, :message2)
      
      For more details: https://github.com/yujinakayama/transpec#supported-conversions
      8d6c87ad
    • Alexandre Friquet's avatar
      Updates Rspec to 3.5: refs #17. · 44a2dc43
      Alexandre Friquet authored
      44a2dc43
  7. 06 Jun, 2016 1 commit
  8. 02 Feb, 2016 1 commit