Sha256: c5fec2c58203f462969d5a9b07e6a35ed14fe87a9faace3af5dc1bb582bab501
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
require 'spec_helper' describe Feeder::Configuration do it "sets the observers to an empty array upon initialization" do expect(subject.observables).to eq [ ] end describe "#add_observable" do it "adds an observable to @observables" do subject.add_observable "SomeObservable" expect(subject.observables).to match_array [ "SomeObservable" ] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feeder-0.2.0 | spec/lib/feeder/configuration_spec.rb |