spec/lib/mtrack/state_spec.rb in mtrack-1.1.1 vs spec/lib/mtrack/state_spec.rb in mtrack-2.0.0
- old
+ new
@@ -1,15 +1,15 @@
require "spec_helper"
describe MTrack::State do
let(:sample_group) do
- { :con_1 => { :tracked => [:trk_1, :trk_2] },
- :con_2 => { :tracked => [:trk_2, :trk_3] }
+ { con_1: { tracked: [:trk_1, :trk_2] },
+ con_2: { tracked: [:trk_2, :trk_3] }
}
end
let(:sample_group_2) do
- { :con_2 => { :tracked => [:trk_3, :trk_4] },
- :con_3 => { :tracked => [:trk_4, :trk_5] }
+ { con_2: { tracked: [:trk_3, :trk_4] },
+ con_3: { tracked: [:trk_4, :trk_5] }
}
end
let(:sample_undefined) { [:und_1, :und_2, :und_3] }