Sha256: dfb29f6ed540d8e27a04853631345e16584b2748ff3f1ad2a3b97eb1a50bb7d2

Contents?: true

Size: 1.03 KB

Versions: 21

Compression:

Stored size: 1.03 KB

Contents

@command_line
Feature: Interacting with Mirage is done via HTTP using  REST style URLs and therefore you can interact with it in any language.
  If however you are using Ruby, and you want to, you can use the Mirage Client that comes in the Mirage distribution.

  By default the client is configured to connect to an instance of the Mirage server on localhost:7001 which is where
  the Mirage server starts on by default.

  Background:
    Given the following gems are required to run the Mirage client test code:
    """
    require 'rubygems'
    require 'rspec'
    require 'mirage/client'
    """


  Scenario: checking if mirage is running
    Then I run
    """
      Mirage::Client.new.running?.should == false
    """
    Given Mirage is running
    Then I run
    """
      Mirage::Client.new.running?.should == true
    """


  Scenario: connecting to mirage running on a different url
    Given I run 'mirage start -p 9001'
    Then I run
    """
      Mirage::Client.new("http://localhost:9001/mirage").running?.should == true
    """


Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
mirage-2.2.3 features/client/mirage_client.feature
mirage-2.2.2 features/client/mirage_client.feature
mirage-2.1.2 features/client/mirage_client.feature
mirage-2.0.16 features/client/mirage_client.feature
mirage-2.0.15 features/client/mirage_client.feature
mirage-2.0.14 features/client/mirage_client.feature
mirage-2.0.13 features/client/mirage_client.feature
mirage-2.0.12 features/client/mirage_client.feature
mirage-2.0.11 features/client/mirage_client.feature
mirage-2.0.10 features/client/mirage_client.feature
mirage-2.0.9 features/client/mirage_client.feature
mirage-2.0.8 features/client/mirage_client.feature
mirage-2.0.7 features/client/mirage_client.feature
mirage-2.0.6 features/client/mirage_client.feature
mirage-2.0.5 features/client/mirage_client.feature
mirage-2.0.4 features/client/mirage_client.feature
mirage-2.0.3 features/client/mirage_client.feature
mirage-2.0.2 features/client/mirage_client.feature
mirage-2.0.1 features/client/mirage_client.feature
mirage-2.0.0 features/client/mirage_client.feature