Remove accessor tests in Task spec

This commit is contained in:
Thibault Jouan 2014-01-20 01:52:50 +00:00
parent 658a5903fa
commit 780bb9041d

View File

@ -61,24 +61,6 @@ module Producer::Core
end end
end end
describe '#name' do
it 'returns its name' do
expect(task.name).to eq name
end
end
describe '#actions' do
it 'returns the assigned actions' do
expect(task.actions).to eq [action]
end
end
describe '#condition' do
it 'returns the assigned condition' do
expect(task.condition).to be condition
end
end
describe '#condition_met?' do describe '#condition_met?' do
context 'when condition is truthy' do context 'when condition is truthy' do
let(:condition) { Condition.new([], true) } let(:condition) { Condition.new([], true) }