spec/integration_spec.rb in dm-parse-0.3.16 vs spec/integration_spec.rb in dm-parse-0.3.17
- old
+ new
@@ -153,15 +153,15 @@
describe Company do
subject { described_class.new attributes }
let(:attributes) { { location: location } }
- let(:location) { { "lat" => "5.0", "lng" => "0.0" } }
+ let(:location) { { "latitude" => "5.0", "longitude" => "0.0" } }
it { should be_valid }
context "when location is invalid" do
- let(:location) { { "lat" => "", "lng" => "" } }
+ let(:location) { { "latitude" => "", "longitude" => "" } }
it { should_not be_valid }
end
end