Revision 0aaf4889
Added by Adam Price about 8 years ago
test/helpers/command.rb | ||
---|---|---|
33 | 33 |
arguments ||= respond_to?(:with_params) ? with_params : [] |
34 | 34 |
|
35 | 35 |
cmd.stubs(:context).returns({ :adapter => :test }) |
36 |
proc { cmd.run(arguments) }.must_output /.*##{column_name}#.*/
|
|
36 |
proc { cmd.run(arguments) }.must_output(/.*##{column_name}#.*/)
|
|
37 | 37 |
end |
38 | 38 |
end |
39 | 39 |
|
Also available in: Unified diff
rubocop - Lint/AmbiguousRegexpLiteral