Improve some context descriptions in specs

This commit is contained in:
Thibault Jouan
2013-07-31 22:45:42 +00:00
parent 0aa043b61a
commit a45a340b64
3 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ module Producer::Core
end
describe '#condition' do
context 'condition is met (block evals to true)' do
context 'when met (block evals to true)' do
let(:block) { Proc.new {
condition { true }
raise 'error after condition'
@@ -24,7 +24,7 @@ module Producer::Core
end
end
context 'condition is not met (block evals to false)' do
context 'when not met (block evals to false)' do
let(:block) { Proc.new {
condition { false }
raise