match_point 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module MatchPoint
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
@@ -71,7 +71,10 @@ module MatchPoint
71
71
  end
72
72
 
73
73
  def self.add_attr_writer_for node_in_template
74
- define_method (node_in_template.text).concat('=').to_sym, lambda { | new_value | self.class.add_attr_reader_for node_in_template, new_value }
74
+ define_method (node_in_template.text).concat('=').to_sym, Proc.new { | new_value |
75
+ specify_value new_value, node_in_template.path
76
+ self.class.add_attr_reader_for node_in_template, new_value
77
+ }
75
78
  end
76
79
 
77
80
  end
@@ -49,6 +49,7 @@ describe MatchPoint do
49
49
  other_value = "oTHeRVaLue"
50
50
  response.auth_id = other_value
51
51
  response.auth_id.should == other_value
52
+ response.document.to_s.should include(other_value)
52
53
  end
53
54
 
54
55
  it "should have an operation name" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: match_point
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: