Typos
This commit is contained in:
@@ -117,7 +117,7 @@ describe 'WpTheme::Findable' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
context 'when the theme is found' do
|
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()
|
stub_all_to_nil()
|
||||||
expected = WpTheme.new(uri, name: 'the-oracle')
|
expected = WpTheme.new(uri, name: 'the-oracle')
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ shared_examples 'WpTheme::Versionable' do
|
|||||||
subject.version.should == @expected
|
subject.version.should == @expected
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'the version is already sets' do
|
context 'the version is already set' do
|
||||||
it 'returns it' do
|
it 'returns it' do
|
||||||
subject.version = '2.1'
|
subject.version = '2.1'
|
||||||
@expected = '2.1'
|
@expected = '2.1'
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ shared_examples 'WpTheme::Vulnerable' do
|
|||||||
describe '#vulns_file' do
|
describe '#vulns_file' do
|
||||||
after { subject.vulns_file.should == @expected }
|
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
|
it 'returns the default one' do
|
||||||
@expected = THEMES_VULNS_FILE
|
@expected = THEMES_VULNS_FILE
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ shared_examples 'WpTimthumb::Versionable' do
|
|||||||
subject.version.should === @expected
|
subject.version.should === @expected
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when a version is already sets' do
|
context 'when a version is already set' do
|
||||||
it 'returns it' do
|
it 'returns it' do
|
||||||
subject.version = '2.3.1'
|
subject.version = '2.3.1'
|
||||||
@expected = '2.3.1'
|
@expected = '2.3.1'
|
||||||
|
|||||||
Reference in New Issue
Block a user