This commit is contained in:
erwanlr
2013-03-27 13:54:35 +01:00
parent be0aad2c66
commit 52c1bd3558
4 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ describe 'WpTheme::Findable' do
end
context 'when the theme is found' do
it 'returns it, with the :found_from sets' do
it 'returns it, with the :found_from set' do
stub_all_to_nil()
expected = WpTheme.new(uri, name: 'the-oracle')

View File

@@ -13,7 +13,7 @@ shared_examples 'WpTheme::Versionable' do
subject.version.should == @expected
end
context 'the version is already sets' do
context 'the version is already set' do
it 'returns it' do
subject.version = '2.1'
@expected = '2.1'

View File

@@ -5,7 +5,7 @@ shared_examples 'WpTheme::Vulnerable' do
describe '#vulns_file' do
after { subject.vulns_file.should == @expected }
context 'when :vulns_file is no set' do
context 'when :vulns_file is not set' do
it 'returns the default one' do
@expected = THEMES_VULNS_FILE
end

View File

@@ -9,7 +9,7 @@ shared_examples 'WpTimthumb::Versionable' do
subject.version.should === @expected
end
context 'when a version is already sets' do
context 'when a version is already set' do
it 'returns it' do
subject.version = '2.3.1'
@expected = '2.3.1'