mustard icon indicating copy to clipboard operation
mustard copied to clipboard

Add support to RSpec one line examples

Open PikachuEXE opened this issue 13 years ago • 0 comments

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 :)

PikachuEXE avatar Dec 14 '12 02:12 PikachuEXE