Remove accessor tests in Task spec
This commit is contained in:
parent
658a5903fa
commit
780bb9041d
@ -61,24 +61,6 @@ module Producer::Core
|
||||
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
|
||||
context 'when condition is truthy' do
|
||||
let(:condition) { Condition.new([], true) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user