#298: fixed specs

This commit is contained in:
Vokhmin Alexey V 2013-09-11 20:44:27 +04:00
parent f356738d35
commit c758257eb8
1 changed files with 6 additions and 6 deletions

View File

@ -194,9 +194,9 @@ describe BuildList do
build_list.has_new_packages?.should be_false
end
it 'published: 3.0.rc1, new: 3.0.0' do
published_build_list_package.update_attributes(:version => '3.0.rc1')
build_list_package.update_attributes(:version => '3.0.0')
it 'published: 3.0.0, new: 3.0.rc1' do
published_build_list_package.update_attributes(:version => '3.0.0')
build_list_package.update_attributes(:version => '3.0.rc1')
build_list.has_new_packages?.should be_false
end
@ -214,9 +214,9 @@ describe BuildList do
build_list.has_new_packages?.should be_true
end
it 'published: 3.0.0, new: 3.0.rc1' do
published_build_list_package.update_attributes(:version => '3.0.0')
build_list_package.update_attributes(:version => '3.0.rc1')
it 'published: 3.0.rc1, new: 3.0.0' do
published_build_list_package.update_attributes(:version => '3.0.rc1')
build_list_package.update_attributes(:version => '3.0.0')
build_list.has_new_packages?.should be_true
end