Sha256: 93cd07f1fa862b384d297c3ffb6980a9c59b26e9351b11a31a3bd2b05747cfa5
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'taskwarrior-web/config' require 'ostruct' describe TaskwarriorWeb::Config do describe '.property' do it 'should call #get_value on the config file object' do file = OpenStruct.new TaskwarriorWeb::Config.should_receive(:file).and_return(file) file.should_receive(:get_value).with('testing') TaskwarriorWeb::Config.property('testing') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
taskwarrior-web-1.0.3 | spec/models/config_spec.rb |
taskwarrior-web-1.0.2 | spec/models/config_spec.rb |
taskwarrior-web-1.0.1 | spec/models/config_spec.rb |