Sha256: 8930e7c492d8a49bcdf676a50fd111793d308256be6e5688eb05e68b1671acbf
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
require 'spec_helper' RSpec.describe SSHTunnel do BASE_PATH = Pathname.new File.expand_path('..', __dir__) describe '.root_path' do it 'should return root_path path' do expect(described_class.root_path).to eq BASE_PATH end end describe '.resources_path' do it 'should return resources_path path' do expect(described_class.resources_path).to eq BASE_PATH.join('resources') end end describe '.resources_xml' do it 'should return resources_xml path' do expect(described_class.resources_xml).to eq BASE_PATH.join('resources').join('gresources.xml') end end describe '.resources_bin' do it 'should return resources_bin path' do expect(described_class.resources_bin).to eq Pathname.new('/tmp/gresources.bin') end end describe '.locales_path' do it 'should return locales_path path' do expect(described_class.locales_path).to eq BASE_PATH.join('config', 'locales', '*.yml') end end describe '.current_locale' do it 'should return Gtk current_locale' do expect { described_class.current_locale }.to_not raise_error end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ssh-hull-2.0 | spec/ssh_hull_spec.rb |
ssh-hull-1.0.0 | spec/ssh_tunnel_spec.rb |