Sha256: bb7f4b0e812bcbac5d15cf279657b36f11044bedad31d182a78f1267d974de0f
Contents?: true
Size: 385 Bytes
Versions: 1
Compression:
Stored size: 385 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) include Fathom describe Outcome do it "should initialize a value accessor" do Outcome.should have_an_initialization_accessor_for(:value) end it "should have an infer constructor" do outcome = Outcome.infer(:some_value) outcome.should be_a(Outcome) outcome.value.should eql(:some_value) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fathom-0.5.0 | spec/fathom/data/outcome_spec.rb |