spec/shoes/cli_spec.rb in shoes-swt-4.0.0.pre2 vs spec/shoes/cli_spec.rb in shoes-swt-4.0.0.pre3
- old
+ new
@@ -2,14 +2,14 @@
describe Shoes::CLI do
subject {Shoes::CLI.new}
before :each do
- allow(subject).to receive :package
+ allow(subject.packager).to receive :run
end
it 'does not raise an error for a normal packaging command #624' do
expect do
- subject.run ['-p', 'swt:app', 'test/simple-sound.rb']
+ subject.run ['-p', 'swt:app', 'samples/simple-sound.rb']
end.not_to raise_error
end
end