See this article for more details.
I was having problems getting capybara to run with :js => true, turns out that transactional fixtures are to blame.
class Example
def booom
raise "Boom"
end
end| require 'execjs' | |
| class SgNodeMapper | |
| def method_missing(method, *args, &block) | |
| context.call("nodemapper.#{method.to_s.camelize(:lower)}", *args) | |
| end | |
| private |
| require 'formula' | |
| class Shoreman < Formula | |
| homepage 'https://github.com/hecticjeff/shoreman' | |
| head 'https://github.com/hecticjeff/shoreman.git' | |
| def install | |
| bin.install 'shoreman.sh' => 'shoreman' | |
| end | |
| end |
| /node_modules |
See this article for more details.
I was having problems getting capybara to run with :js => true, turns out that transactional fixtures are to blame.
class Example
def booom
raise "Boom"
end
end| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| <title></title> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>net.hecticjeff.firewall</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>sh</string> | |
| <string>-c</string> |
| /** | |
| * Basic bookmarklet template. | |
| * | |
| * Change the `iframeSrc` variable to point to your space's new idea | |
| * page. You can adjust the iframe styles and position using the | |
| * `iframeStyle` variable. | |
| * | |
| * For turning this script into a bookmarklet, you should probably take | |
| * a look at https://gist.github.com/1856012. | |
| */ |
| setlocal expandtab | |
| setlocal tabstop=4 | |
| setlocal shiftwidth=4 | |
| setlocal softtabstop=4 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.example</groupId> | |
| <version>1.0-SNAPSHOT</version> | |
| <artifactId>helloworld</artifactId> | |
| <dependencies> | |
| <dependency> |
| <?php | |
| eval ('foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;'); |