Sha256: 3596b3ca8e05017d821b460a5bbf6703e25d3419f307e8f9e00f9d9303280286
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
Feature: Transforming JSX into Javascript when it is written in Coffeescript Background: Given a fixture app "app" Given a successfully built app at "app" Scenario: A JSX file written in coffeescript When I cd to "build" Then the following files should exist: | assets/javascripts/coffeescript.js | When I run `cat assets/javascripts/coffeescript.js` Then the stdout from "cat assets/javascripts/coffeescript.js" should contain exactly: """ /** @jsx React.DOM */ (function() { this.app.components.test = React.createClass({displayName: 'test', render: function() { return React.DOM.div(null, TestComponent({data: this.props.someData}) ); } }); }).call(this); """ And the exit status should be 0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-react-0.11.1 | spec/features/coffeescript.feature |