RSpec の config.include で特定パスだけに適用する
:example_group オプション使ってできるの恥ずかしながら知りませんでした。
RSpec.configure do |c| c.include FooBarHelper, :example_group => { :file_path => %r<spec/requests/foobar> } end
これ便利やな。
:example_group オプション使ってできるの恥ずかしながら知りませんでした。
RSpec.configure do |c| c.include FooBarHelper, :example_group => { :file_path => %r<spec/requests/foobar> } end
これ便利やな。