spec/tests/tasks/check/rubocop/display_spec.rb in hexx-suit-0.1.0 vs spec/tests/tasks/check/rubocop/display_spec.rb in hexx-suit-0.2.0

- old
+ new

@@ -7,11 +7,11 @@ # any instance of Hexx::Suit::Utils::System utility. let(:task) { Rake::Task["check:rubocop:display"] } shared_context "without rubocop.yml" do - + let(:options) { { "output" => "tmp/rubocop/index.html" } } end shared_context "with rubocop.yml" do @@ -32,10 +32,10 @@ shared_examples "results displayer" do it "displays rubocop results" do expect { subject } .to change { commands } - .to ["launchy #{ options["output"] }"] + .to ["launchy #{ options['output'] }"] end end describe ".invoke", :sandbox do