spec/lib/ant_runner_spec.rb in gjp-0.36.0 vs spec/lib/ant_runner_spec.rb in gjp-0.37.0

- old
+ new

@@ -1,9 +1,9 @@ # encoding: UTF-8 -require 'spec_helper' -require 'lib/kit_runner_spec' +require "spec_helper" +require "lib/kit_runner_spec" describe Gjp::AntRunner do it_behaves_like Gjp::KitRunner include Gjp::Mockers @@ -32,10 +32,10 @@ describe "#ant" do it "runs Ant" do executable_path = create_mock_executable("ant") @project.from_directory do @kit_runner.ant(["extra-option"]) - File.read("test_out").strip.should match /extra-option$/ + File.read("test_out").strip.should match(/extra-option$/) end end it "doesn't run Ant if it is not available" do @project.from_directory do expect { @kit_runner.ant([]) }.to raise_error(Gjp::ExecutableNotFoundError)