mustard
mustard copied to clipboard
Add support to RSpec one line examples
Let's say I have this syntax:
subject {user}
it {should be_presisted}
specify {subject.avatar.should be_presisted}
And I want to convert this to:
it {must.be :persisted}
specify {subject.avatar.must.be :persisted}
Now only the second example work
The first example will get
undefined method 'persisted?' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1::Nested_1::Nested_1:0x007febd2c6f5c8>
This is not urgent but I want to know if it is possible to get this implemented Thanks :)