Sha256: 76b92a7ad7d6506ae9644c1a5193bf2965c11de4ce7a4ce66254ba6768e89b5a
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 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 it "sets a default sort order upon initialization" do expect(subject.sort_order).to eq({ created_at: :desc }) 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.3.0 | spec/lib/feeder/configuration_spec.rb |