spec/kpm/remote/kaui_artifact_spec.rb in kpm-0.8.2 vs spec/kpm/remote/kaui_artifact_spec.rb in kpm-0.9.0

- old
+ new

@@ -15,17 +15,17 @@ KPM::BaseArtifact::KAUI_ARTIFACT_ID, KPM::BaseArtifact::KAUI_PACKAGING, KPM::BaseArtifact::KAUI_CLASSIFIER, 'LATEST', dir) - info[:file_name].should eq "kaui-standalone-#{info[:version]}.war" - info[:size].should eq File.size(info[:file_path]) + expect(info[:file_name]).to eq "kaui-standalone-#{info[:version]}.war" + expect(info[:size]).to eq File.size(info[:file_path]) end end it 'should be able to list versions' do versions = KPM::KauiArtifact.versions.to_a expect(versions.size).to be >= 2 - versions[0].should eq '0.0.1' - versions[1].should eq '0.0.2' + expect(versions[0]).to eq '0.0.1' + expect(versions[1]).to eq '0.0.2' end end