Sha256: 0593d9bd00999733542d84d1eb1443725bb59fadf7ae259ded7a2f11cc144c55
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
require 'dexby' RSpec.describe Dexby do describe "#new" do context "without user/pass arguments" do it "raises an error" do expect { described_class.new }.to raise_error ArgumentError end end context "with user/pass arguments" do let(:default_args) { {username: 'test', password: 'test'} } it "returns a Dexby::Reader" do expect(described_class.new(*default_args)).to be_a Dexby::Reader end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dexby-0.1.1 | spec/dexby_spec.rb |
dexby-0.1.0 | spec/dexby_spec.rb |
dexby-0.0.1 | spec/dexby_spec.rb |