Typos
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user