This guide is now available under this URL:
http://docs.behat.org/cookbook/bdd_in_symfony2_with_behat_mink_and_zombiejs.html
<?php | |
public function registerBundles() | |
{ | |
// ... | |
if ('test' === $this->getEnvironment()) { | |
$bundles[] = new Behat\MinkBundle\BehatMinkBundle(); | |
$bundles[] = new Behat\BehatBundle\BehatBundle(); | |
} | |
// ... |
# This is a template .gitignore file for git-managed Prestashop projects. Inspired by micahwalter wordpress gitignore | |
#Ignore ds_store | |
*.DS_Store | |
# Ignore everything in the root except modules, themes and override. | |
/* | |
!modules/ | |
!themes/ |
# encoding: UTF-8 | |
Capistrano::Configuration.instance(:must_exist).load do | |
namespace :rails do | |
desc "Open the rails console on one of the remote servers" | |
task :console, :roles => :app do | |
hostname = find_servers_for_task(current_task).first | |
exec "ssh -l #{user} #{hostname} -t 'source ~/.profile && #{current_path}/script/rails c #{rails_env}'" | |
end | |
end |
vendor/ | |
composer.lock |
<?php | |
namespace Acme\DemoBundle\Features\Context; | |
use Behat\BehatBundle\Context\BehatContext, | |
Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode, | |
Behat\Gherkin\Node\TableNode; | |
/** |
This guide is now available under this URL:
http://docs.behat.org/cookbook/bdd_in_symfony2_with_behat_mink_and_zombiejs.html
$ git config --global core.autocrlf true
to protect your project from Windows line endings creeping into your project# put this in /lib/resque.rb | |
require 'mail' | |
module Emailer | |
class Send | |
@queue = :issue_mailer | |
def self.perform(addressee, subject, body) |
# Save this file as config (no extension) | |
# in the ~/.config/terminator/ folder | |
# if it already exists, copy and paste palette, | |
# foreground_color and background_color into the | |
# profile section of your choosing. | |
[global_config] | |
[keybindings] | |
[profiles] | |
[[default]] |