spec/app42/command/service_spec.rb in app42-0.5.5 vs spec/app42/command/service_spec.rb in app42-0.5.6

- old
+ new

@@ -34,11 +34,11 @@ it 'should list all services' do response = App42::Command::Service.new.services end it 'Should return correct service information json' do - respone = App42::Command::Service.new.info + response = App42::Command::Service.new.info end it 'Should reset service password' do response = App42::Command::Base.new.reset_password @service_name, @old_password response['success'].should eql true @@ -71,24 +71,24 @@ response = App42::Command::Base.new.create_service @service, @service_name ,@database, @vm_type, @iaas, @vmconfig, @os response.should eql true end end - context "Create service, name contain special charrecter" do + context "Create service, name contain special character" do it "Service name should not contain any special character and it's length should be less than 30." do response = App42::Command::Base.new.create_service @service, @service_name_sc ,@database, @vm_type, @iaas, @vmconfig, @os end end # Unit testing - it "Should return app42PaaS services josn" do + it "Should return app42PaaS services json" do response = App42::Command::Service.new.get_services path = "#{APP_ROOT}/app42/spec/data/services.yml" services = YAML.load_file(path) response.should eql services end - it "Should return user services josn" do + it "Should return user services json" do response = App42::Command::Service.new.get_user_services path = "#{APP_ROOT}/app42/spec/data/user_services.yml" service = YAML.load_file(path) response.should eql service end