spec/model/config_spec.rb in taskwarrior-web-1.1.9 vs spec/model/config_spec.rb in taskwarrior-web-1.1.10
- old
+ new
@@ -4,10 +4,10 @@
describe TaskwarriorWeb::Config do
describe '.property' do
it 'should call #[] on the config file object' do
file = {}
- TaskwarriorWeb::Config.should_receive(:file).and_return(file)
+ TaskwarriorWeb::Config.should_receive(:store).and_return(file)
file.should_receive(:[]).with('testing')
TaskwarriorWeb::Config.property('testing')
end
end
end