Sha256: 06726c3a2c9961f4b7235eafee1884a3eab005fa29d122e65aa7a2b3979b178d
Contents?: true
Size: 625 Bytes
Versions: 16
Compression:
Stored size: 625 Bytes
Contents
require 'rails_helper' describe Account do setup_account it "write tests" it "has default url values" do expect(Account.current.url_protocol).to eq 'http://' expect(Account.current.url_host).to eq 'test.example.com' expect(Account.current.url_base).to eq 'http://test.example.com' end it "sets the set_url_parts" do Account.current.set_url_parts('https://', 'test.sample.com:3000') expect(Account.current.url_protocol).to eq 'https://' expect(Account.current.url_host).to eq 'test.sample.com:3000' expect(Account.current.url_base).to eq 'https://test.sample.com:3000' end end
Version data entries
16 entries across 16 versions & 1 rubygems