Sha256: 135c0737f1506c031ec8953a88523b33e30fa4b1115b002bdeb8a1d7887d8191

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

require 'spec_helper'

describe Transifex do
  describe '#configure' do
    let(:username) { 'nadia' }
    let(:password) { 'candy' }

    before do
      Transifex.configure do |config|
        config.username = username
        config.password = password
      end
    end

    it 'stores the username' do
      expect(Transifex.username).to eql username
    end

    it 'stores the password' do
      expect(Transifex.password).to eql password 
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
transifex-ruby-0.1.0 spec/transifex_spec.rb
transifex-ruby-0.0.6 spec/transifex_spec.rb
transifex-ruby-0.0.5 spec/transifex_spec.rb
transifex-ruby-0.0.4 spec/transifex_spec.rb
transifex-ruby-fork-jg-0.1.0 spec/transifex_spec.rb