search for: get_host

Displaying 4 results from an estimated 4 matches for "get_host".

Did you mean: get_host_
2012 Jun 08
0
Having difficulty testing redirects with Rspec and Capybara
...{ FactoryGirl.create(:user) } let(:account) { user.owned_accounts.create!(name: "ACME Corp", subdomain: "acme") } describe "Admin::Accounts#show" do context "as non-signed in user" do before do visit admin_account_url(account, host: get_host(account)) end it "should redirect to the login page" do assert_redirected_to signin_path end end end end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the we...
2007 Dec 13
4
access to databases in puppet - best practice?
...For now I''m doing something like this: For dhcp and dns I use dnsmasq. So I''ve got module with template hosts.erb: <% require "#{config_dir}/tools/bbox.rb" -%> <% devs=BBOX::Devices.new "#{global_networks_path}/#{lan_dns_domain}" -%> <% devs.get_hosts.each do |host| -%> <%= host[''ip''] %> <%= host[''name''] %>.<%= lan_dns_domain %> <%= host [''name''] %> <% end -%> and dnsmasq.conf.erb: <% require "#{config_dir}/tools/bbox.rb" -%> <% devs=BBO...
2019 Mar 29
0
Wine release 4.5
...nhala translation. po: Update Tamil translation. Jacek Caban (51): jscript: Add Object.create implementation. mshtml: Add IHTMLCSSStyleDeclaration::setProperty implementation. mshtml: Add IHTMLAnchorElement::get_protocol implementation. mshtml: Add IHTMLAnchorElement::get_host implementation. jscript: Support undefined context value in Array.prototype.forEach. jscript: Support undefined context value in Array.prototype.map. mshtml: Set elem_vars to NULL when detaching. mshtml: Remove selection and range objects from document list when detaching....
2009 Oct 23
0
Wine release 1.1.32
...mshtml: Add stub implementation for IHTMLDocument6. mshtml: Add test suite for IHTMLLocation. mshtml: Add helper function get_url_components. mshtml: Implement IHTMLLocation::get_port. mshtml: Implement IHTMLLocation::get_protocol. mshtml: Implement IHTMLLocation::get_host. mshtml: Implement IHTMLLocation::get_hostname. mshtml: Reimplement IHTMLLocation::get_href. mshtml: Reimplement HTMLLocation::get_pathname. mshtml: Implement IHTMLLocation::get_hash. mshtml: Implement IHTMLLocation::get_search. mshtml/tests: Remove todo_wine pat...