Sha256: 596f8fe738b44837a7ba62d6fd641cf6d19f3086b8584731e7d806aa4f4d3d16
Contents?: true
Size: 376 Bytes
Versions: 9
Compression:
Stored size: 376 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.new(data) patrol.id.should == 1 patrol.name.should == 'Patrol Name' patrol.active.should == true patrol.points.should == 2 end end
Version data entries
9 entries across 9 versions & 1 rubygems