Sha256: 2037529b678767407135cf65a1f446ceee6708881318c15b8836fcf8904e0528
Contents?: true
Size: 381 Bytes
Versions: 6
Compression:
Stored size: 381 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe "Grouping" do it "Create" do data = { 'patrolid' => 1, 'name' => 'Patrol Name', 'active' => 1, 'points' => '2', } patrol = Osm::Grouping.from_api(data) patrol.id.should == 1 patrol.name.should == 'Patrol Name' patrol.active.should == true patrol.points.should == 2 end end
Version data entries
6 entries across 6 versions & 1 rubygems