spec/td/client/db_api_spec.rb in td-client-0.8.65 vs spec/td/client/db_api_spec.rb in td-client-0.8.66

- old
+ new

@@ -16,10 +16,10 @@ describe "'create_database' API" do it 'should create a new database' do stub_api_request(:post, "/v3/database/create/#{e(db_name)}") .to_return(:body => {'database' => db_name}.to_json) - api.create_database(db_name).should be_true + api.create_database(db_name).should be true end it 'should return 400 error with invalid name' do invalid_name = 'a' err_msg = "Name must be 3 to 256 characters, got #{invalid_name.length} characters. name = '#{invalid_name}'"