Sha256: b5ba47649fbf646577d6b302e65f8daf1dc6171fb2b43ea4295f233280b2f98f
Contents?: true
Size: 536 Bytes
Versions: 4
Compression:
Stored size: 536 Bytes
Contents
# encoding: utf-8 describe "Rake::Task[:debug]", :tasks do # The {#commands} variable is defined in the spec/support/config/tasks.rb # It collects the list of commands, that has been sent to system by # any instance of Hexx::RSpec::System utility. let(:task) { Rake::Task[:debug] } describe ".invoke", :sandbox do subject { try_in_sandbox { task.invoke } } it "runs tests under pry rescue" do expect { subject }.to change { commands }.to [ "bundle exec rescue rspec spec" ] end end end
Version data entries
4 entries across 4 versions & 1 rubygems