spec/td/client/export_api_spec.rb in td-client-0.8.62 vs spec/td/client/export_api_spec.rb in td-client-0.8.63
- old
+ new
@@ -30,10 +30,10 @@
stub_api_request(:post, "/v3/export/run/#{e(db_name)}/#{e(table_name)}").with(:body => params)
.to_return(:status => 400, :body => {'message' => err_msg}.to_json)
expect {
api.export(db_name, table_name, invalid_type)
- }.to raise_error(TreasureData::APIError, /^#{err_msg}/)
+ }.to raise_error(TreasureData::APIError, /#{err_msg}/)
end
# TODO: Add other parameters spec
end
end