spec/matchers/token.rb in opentok-2.3.4 vs spec/matchers/token.rb in opentok-2.4.0.beta.1

- old
+ new

@@ -5,10 +5,11 @@ require "addressable/uri" RSpec::Matchers.define :carry_token_data do |input_data| option_to_token_key = { :api_key => :partner_id, - :data => :connection_data + :data => :connection_data, + :initial_layout_classes => :initial_layout_class_list } match do |token| decoded_token = Base64.decode64(token[4..token.length]) token_data_array = decoded_token.split(':').collect do |token_part| token_part_array_array = Addressable::URI.form_unencode(token_part)