Sha256: 24b241786cd9487588d03807a3e7c82eb2fbf252b811e1b89ed4dde0067e75d1

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 Bytes

Contents

Feature: Transforming JSX into Javascript
  Background:
    Given a fixture app "app"
    Given a successfully built app at "app"

  Scenario: A simple JSX file
    When I cd to "build"
    Then the following files should exist:
      | assets/javascripts/plain_jsx.js |
    When I run `cat assets/javascripts/plain_jsx.js`
    Then the stdout from "cat assets/javascripts/plain_jsx.js" should contain exactly:
      """
      /** @jsx React.DOM */
      React.DOM.div(null);

      """
    And the exit status should be 0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-react-0.11.1 spec/features/jsx.feature
middleman-react-0.10.0 spec/features/jsx.feature