Sha256: 3ccbcfcc60d5c90df6a3ac176c7ca31b1811be832e66008c69a6c56e7b859e42
Contents?: true
Size: 591 Bytes
Versions: 5
Compression:
Stored size: 591 Bytes
Contents
Given(/^JSON data defined as:$/) do |code| json = nil context_module.module_eval code context_data[:json] = json end When(/^the JSON is parsed to a model instance as:$/) do |code| json = context_data[:json] instance = nil context_module.module_eval code context_data[:instance] = instance end Then(/^the instance attributes are as follows:$/) do |table| object_attributes_match_table! context_data[:instance], table end Then(/^the instance attributes and indexed properties are as follows:$/) do |table| object_attributes_match_table! context_data[:instance], table end
Version data entries
5 entries across 5 versions & 1 rubygems