Skip to content

Test fix#152

Closed
fabn wants to merge 29 commits intoassembler:masterfrom
fabn:test-fix
Closed

Test fix#152
fabn wants to merge 29 commits intoassembler:masterfrom
fabn:test-fix

Conversation

@fabn
Copy link
Copy Markdown

@fabn fabn commented Oct 3, 2017

I restored test execution and integrated them with travis. I needed this because currently it's not possible to upgrade to rails 5.1 with the current gem version.

This could be a starting point to integrate some open pull requests and try to ensure nothing brokes.

Currently I used my travis account with my cloudinary account encrypted in file cloudinary.yml.enc, if you want to merge this into master you should configure your account there to run javascript integration tests.

Non js tests are run using vcr, so every cloudinary.yml file with valid credentials will work.

Next steps could be:

  • Integrate this to master with your credentials
  • Relax cloudinary dependency
  • Cut a new gem version with breaking changes (this branch is only tested against ruby 4)

After this we can move on and try to support Rails 5 and later cloudinary versions and integrate them with Travis build matrix.

Let me know if you're interested in this and I'll try to move on.

Fix #82, #83 and possibly other issues.

fabn added 29 commits October 2, 2017 21:58
This conversion is done by Transpec 3.3.0 with the following command:
    transpec -f

* 38 conversions
    from: obj.should
      to: expect(obj).to

* 19 conversions
    from: == expected
      to: eq(expected)

* 6 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 4 conversions
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

* 2 conversions
    from: =~ /pattern/
      to: match(/pattern/)

* 2 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 1 conversion
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 1 conversion
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

For more details: https://github.com/yujinakayama/transpec#supported-conversions
…ng in travis until I found a working config for headless testing
@fabn fabn closed this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot load coffee_script

1 participant