Sha256: f6329aad200865f020c0ecee5a42dfba3c9aa889061cdb20bc4ffe7967a877f2
Contents?: true
Size: 416 Bytes
Versions: 6
Compression:
Stored size: 416 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'taskwarrior-web/config' require 'ostruct' 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) file.should_receive(:[]).with('testing') TaskwarriorWeb::Config.property('testing') end end end
Version data entries
6 entries across 6 versions & 1 rubygems