Permalink
Browse files

Cleaner path syntax in integration test

  • Loading branch information...
nbartlomiej committed Dec 17, 2011
1 parent 23c8aae commit ecb43ac31eee0addc0f745068847004c009236fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/integration/runner_spec.rb
@@ -14,7 +14,7 @@ class Jessie
it "Uses local Jessie" do
Runner.should_receive(:system).with(
- /^\.\/node_modules\/jessie\/bin\/jessie .*$/
+ %r{^\./node_modules/jessie/bin/jessie .*$}
)
Runner.run %w[spec]
end

0 comments on commit ecb43ac

Please sign in to comment.