This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map.resources :users, :controller => 'clearance/users' do |users| | |
| users.resource :password, | |
| :controller => 'clearance/passwords', | |
| :only => [:create, :edit, :update] | |
| users.resource :confirmation, | |
| :controller => 'clearance/confirmations', | |
| :only => [:new, :create] | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe "prototype widget helper", :type => :view do | |
| describe "tab1_link" do | |
| it "link does some stuff" do | |
| pending | |
| render(:inline => "<%= tab1_link %>") | |
| # response.should have_tag("a") | |
| # puts "<pre>" | |
| # puts response.body | |
| # puts "</pre>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./script/generate integration selenium_attach_file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| complete -C "/usr/bin/gemedit --complete" gemedit | |
| alias wd='ruby -S watchdog.rb' | |
| alias dbm="rake db:migrate:reset && rake db:test:prepare" | |
| alias cons="script/console" | |
| alias gen="script/generate" | |
| alias dest="script/destroy" | |
| alias plug="script/plugin" | |
| alias ss="test -d ./script && script/server || serve" | |
| alias log="tail -f log/*.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class FoosController | |
| def new | |
| @foo = Foo.new | |
| @foo.attribute = "asdf" | |
| @foo.bars.build(:name => "blah") | |
| @default_questions = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= branch = `git symbolic-ref HEAD`.gsub('refs/heads/', '').chomp.gsub('/', '_') %> | |
| login: &login | |
| adapter: mysql | |
| username: root | |
| password: xxxxxxxxxxxxxx | |
| host: localhost | |
| socket: /opt/local/var/run/mysql5/mysqld.sock | |
| development: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/opt/local/bin/ruby | |
| require 'rubygems' | |
| gem 'datamapper' | |
| require 'datamapper' | |
| DataMapper::Logger.new(STDOUT, :debug) # :off, :fatal, :error, :warn, :info, :debug | |
| DataMapper.setup(:default, 'mysql://root:mXtHWdZsZuqh@localhost/dm_core_test' ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'wirble' | |
| # Wirble.init | |
| # Wirble.colorize | |
| require 'hirb' | |
| Hirb.enable | |
| # extend Hirb::Console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ Params: {"submit"=>"Verify", "action"=>"start", "controller"=>"chef_server_slice/openid_consumer", "openid_identifier"=>"https://172.18.6.101/openid/server/node/edge4_in_rprj_com"} | |
| ~ WARNING: making https request to https://172.18.6.101/openid/server/node/edge4_in_rprj_com without verifying server certificate; no CA path was specified. | |
| ~ Discovery failed for https://172.18.6.101/openid/server/node/edge4_in_rprj_com: Failed to fetch identity URL https://172.18.6.101/openid/server/node/edge4_in_rprj_com : Error connecting to SSL URL https://172.18.6.101/openid/server/node/edge4_in_rprj_com: hostname does not match - (Merb::ControllerExceptions::BadRequest) | |
| /usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.7.4/app/controllers/openid_consumer.rb:41:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `send' | |
| /usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action' | |
| /usr/lib/ruby/gems/1.8/gems/merb- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: test/unit/integrations/helpers/amazon_paynow_helper_test.rb | |
| =================================================================== | |
| --- test/unit/integrations/helpers/amazon_paynow_helper_test.rb (revision 0) | |
| +++ test/unit/integrations/helpers/amazon_paynow_helper_test.rb (revision 0) | |
| @@ -0,0 +1,31 @@ | |
| +require File.dirname(__FILE__) + '/../../../test_helper' | |
| + | |
| +class AmazonPaynowHelperTest < Test::Unit::TestCase | |
| + include ActiveMerchant::Billing::Integrations | |
| + |