Commits on Sep 13, 2018
  1. Merge pull request #16 from amberframework/ep/controller-spec

    eliasjpr committed Sep 13, 2018
    [CleanUp] Cleans Garnet Spec Implementation
Commits on Jun 25, 2018
  1. [Api] Adds Page method to System Test API

    eliasjpr committed Jun 24, 2018
    Having the page object available in tests is useful to perform custom
    checks and provides a number of methods for controlling the navigation
    of the page, such as visit, click, fill etc. The methods facilitates the
    interaction with the current session.
Commits on Jun 24, 2018
  1. [Fixes] Gracefully Shuts down the GarnetSpec Server

    eliasjpr committed Jun 24, 2018
    Previously servers stay alive after a spec runs.
    - Changes the way server shutdown is handled
    Servers are shut down gracefully.
  2. [CleanUp] Cleans Garnet Spec Implementation

    eliasjpr committed Jun 17, 2018
    Controller Specs
    - Changes how Controller tests are performed it now requires less
    boilerplate code
    System Tests
    - Removes unecessary modules and simplifies code a lot.
    - No need to specify Capabilities
    - Class change from GarnetSpec::System::Test to GarnetSpec::SystemTest
    require "./spec_helper"
    include GarnetSpec::RequestHelper
    describe "Request Specs" do
      describe "#get" do
        it "should return a HTTP::Client::Response" do
          get("/posts").should be_a HTTP::Client::Response
    To enable Amber tests with garnet just have to overwrite the Garnet
    handler in spec helper
    handler = Amber::Server.instance.handler
    module GarnetSpec
      HANDLER = handler
Commits on Jun 19, 2018
  1. tick to v0.2.1 (#18)

    robacarp committed Jun 19, 2018
Commits on Jun 17, 2018
  1. Merge pull request #15 from amberframework/crystal_0_25

    eliasjpr committed Jun 17, 2018
    hack update to point to an updated shard
  2. Merge pull request #13 from katafrakt/content-type-controller-specs

    eliasjpr committed Jun 17, 2018
    Don't override Content-Type if already given
Commits on Jun 15, 2018
  1. Merge pull request #14 from katafrakt/fix-travis

    faustinoaq committed Jun 15, 2018
    Fix Travis CI build
  2. Fix travis

    katafrakt committed Jun 15, 2018
Commits on Apr 13, 2018
  1. [Controller Tests] Adds Missing HTTP Verbs (#11)

    eliasjpr authored and robacarp committed Apr 13, 2018
    Issue: #10
    Garnet should supports all the HTTP verbs available for simulating
    requests in a conntroller test. Currently is missing the Options, Trace,
    and Connect http verbs
    Adds missing HTTP Read Verbs to generate helper methods for
    testing controllers.
    With these changes Garnet has available all the HTTP verbs needed.
Commits on Feb 25, 2018
  1. Readme example is broken (#8)

    robacarp committed Feb 25, 2018
    `GarnetSpec::SystemTestCase` doesn't seem to be a valid class, but `GarnetSpec::System::Test` does.
Commits on Feb 14, 2018
  1. Merge pull request #9 from robacarp/fix_broken_garnet

    robacarp committed Feb 14, 2018
    Fix broken garnet
Commits on Feb 13, 2018
Commits on Nov 12, 2017
  1. Change name everywhere (#4)

    marksiemers committed Nov 12, 2017
    * Change name everywhere
    * Change the a tag being clicked
    * Start selenium-server on different port
    This should avoid Java runtime exception
    * Change module name to 'GarnetSpec' instead of 'Spec'
    * Bump version
Commits on Nov 11, 2017