Sha256: 0a4bf1f28b1809e8bca876603bfecb2f2e0f3f5360213272ba04fbb1cb45c4ba
Contents?: true
Size: 279 Bytes
Versions: 4
Compression:
Stored size: 279 Bytes
Contents
require "spec_helper" describe Judge::HTML do let(:object) { FactoryGirl.build(:user) } let(:method) { :name } specify "#attrs_for" do attrs = Judge::HTML.attrs_for(object, method) attrs.should be_a Hash attrs["data-validate"].should be_a String end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
judge-1.4.0 | spec/html_spec.rb |
judge-1.3.0 | spec/html_spec.rb |
judge-1.2.0 | spec/html_spec.rb |
judge-1.1.0 | spec/html_spec.rb |