Sha256: b76a8b73208483714567ff257a08d934c024be55625613b07689f01cf8215af0
Contents?: true
Size: 422 Bytes
Versions: 15
Compression:
Stored size: 422 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' require 'taskwarrior-web/model/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
15 entries across 15 versions & 1 rubygems