representable 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +0,0 @@
1
- require 'test_helper'
2
-
3
- class BindingsTest < MiniTest::Spec
4
- describe "TextRef#read" do
5
- def parse_xml(xml); Nokogiri::XML(xml).root; end
6
-
7
- before do
8
- @ref = Representable::XML::TextBinding.new(Representable::Definition.new(:song))
9
- end
10
-
11
- it "returns found value" do
12
- assert_equal "Unkoil", @ref.read(parse_xml("<a><song>Unkoil</song></a>"))
13
- end
14
- end
15
- end
16
-