test/segment_test.rb in createsend-0.2.0 vs test/segment_test.rb in createsend-0.2.1

- old
+ new

@@ -3,10 +3,10 @@ class SegmentTest < Test::Unit::TestCase context "when an api caller is authenticated" do setup do @api_key = '123123123123123123123' CreateSend.api_key @api_key - @segment = CreateSend::Segment.new(:segment_id => '98y2e98y289dh89h938389') + @segment = CreateSend::Segment.new('98y2e98y289dh89h938389') end should "create a new segment" do list_id = "2983492834987394879837498" rules = [ { :Subject => "EmailAddress", :Clauses => [ "CONTAINS example.com" ] } ]