Sha256: cb3ac77b54d8020b289860d438aa8f286c8697862ae45c0c945d5b9729dc0edb
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
#enconding: utf-8 require 'spec_helper' describe Sample do it "takes nothing by default" do expect { Sample.new() }.to_not raise_error end it "takes data, keywords, exceptions, tags" do data = %w{ data } keywords = %w{ keywords } exceptions = %w{ exceptions } tag = 'this is a tag' sample = Sample.new(data, keywords, exceptions, tag) expect(sample.data).to eq(data) expect(sample.keywords).to eq(keywords) expect(sample.exceptions).to eq(exceptions) expect(sample.tag).to eq(tag) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_array_comparator-0.1.1 | spec/sample_spec.rb |