Sha256: 03dfb1cb522b54e2370f7990a61b5a6af34032c5be7f3df96d15d3fb749210d5

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

require "spec_helper"

RSpec.describe SmsAero::Digital do
  subject { described_class[source] }

  context "false:" do
    let(:source) { false }
    it { is_expected.to eq 0 }
  end

  context "true:" do
    let(:source) { true }
    it { is_expected.to eq 1 }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sms_aero-0.2.0 spec/models/digital_spec.rb
sms_aero-0.1.3 spec/models/digital_spec.rb
sms_aero-0.1.2 spec/models/digital_spec.rb
sms_aero-0.1.1 spec/models/digital_spec.rb
sms_aero-0.1.0 spec/models/digital_spec.rb