mavenlink/brainstem — pull request #30 by ahuth (2014-06-21 20:23:45+00:00)
Title: Convert specs to RSpec 3.0.2 syntax with Transpec

This conversion is done by Transpec 2.3.1 with the following command:
transpec

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

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

* 13 conversions
from: obj.should_not
to: expect(obj).not_to

* 12 conversions
from: =~ [1, 2]
to: match_array([1, 2])

* 5 conversions
from: lambda { }.should
to: expect { }.to

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

* 4 conversions
from: > expected
to: be > expected

* 3 conversions
from: be_true
to: be_truthy

* 2 conversions
from: be_false
to: be_falsey

* 2 conversions
from: lambda { }.should_not
to: expect { }.not_to

* 1 conversion
from: <= expected
to: be <= expected

For more details: https://github.com/yujinakayama/transpec#supported-conversions