Sha256: d8df03ce219b819563a5a9f5655cf5e3e90b5d1618a9ed57268a1643168d71af

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require 'spec_helper'

describe Noip::Credentials do
  subject(:credentials) { Noip::Credentials.new('username', 'password', 'host') }

  describe '.username' do
    subject(:username) { credentials.username }
    it { is_expected.to eq 'username' }
  end

  describe '.password' do
    subject(:password) { credentials.password }
    it { is_expected.to eq 'password' }
  end

  describe '.host' do
    subject(:host) { credentials.host }
    it { is_expected.to eq 'host' }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noip-0.2 spec/noip/credentials_spec.rb