spec/kamerling/task_spec.rb in kamerling-0.0.2 vs spec/kamerling/task_spec.rb in kamerling-0.0.3

- old
+ new

@@ -1,9 +1,13 @@ require_relative '../spec_helper' +require_relative '../../lib/kamerling/project' +require_relative '../../lib/kamerling/task' -module Kamerling describe Task do - describe '#done' do - it 'defaults to false' do - Task.new(data: 'data', project: fake(:project)).done.must_equal false +module Kamerling + describe Task do + describe '#done' do + it 'defaults to false' do + refute Task.new(data: 'data', project: Project.new).done + end end end -end end +end