Sha256: 1422f1e0a20ed4c8f96a0adf907cb600e7b670a146f2cdacbdcfa9fc36f38e64
Contents?: true
Size: 298 Bytes
Versions: 2
Compression:
Stored size: 298 Bytes
Contents
require 'spec_helper' describe Noip::Agent do describe '#user_agent' do before do stub_const("Noip::VERSION", "DEAD.BEEF") end subject(:user_agent) { Noip::Agent.new.user_agent } it { is_expected.to eq "noip ruby gem/vDEAD.BEEF anthony.noip_gem@asellitt.com" } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
noip-0.2 | spec/noip/agent_spec.rb |
noip-0.1 | spec/noip/agent_spec.rb |