File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 11# Rainforest CLI Changelog
22
3- ## 1.5.0
3+ ## 1.6.0 - 8th June 2016
4+ - Add ` rm ` command to delete tests. (cf077bd440e83852d8d23f66eb72ba94fece0c07, @marktran )
5+ - New tests use title given when created using ` rainforest new [TEST_NAME] ` .
6+ (01e30ba9d97558ba11c239a5c9842192d38dfd3f, @epaulet )
7+ - Remove static browser list and stop client side validation of browsers for run
8+ creation. Allow the API to validate against the dynamic list of client browsers
9+ instead. (48a4d11e524d020e78e14991bf8a0c5bf82b65c9, @epaulet )
10+
11+ ## 1.5.0 - 23rd May 2016
412- Retry on API exceptions when creating a run. (85830adcef426e64bd72c9d6208881e955a5bb0c, @bbeck )
513- Add ` browsers ` command. (2a810ec27edfc66ef7bf27d8cb7da1129b05e32b, @epaulet )
614- Add support for files using ` app-source-url ` . (562e4772e71e8028209d128091ff644f4ae0a9f6, @marianafranco )
715- Remove newlines from test actions and questions when exporting. (e28583b553b5f30b33b232b2e377c109123b11ff, @epaulet )
816
9- ## 1.4.0
17+ ## 1.4.0 - 22nd April 2016
1018- Support for new ` --version ` command. (4362c85fe599a02eaa1b772d184be31e692e934e, @epaulet )
1119- Validate duplicate RFML IDs before uploading. (67f71d053c755eaf92c1bd205931e89e903b88c9, @curtis-rainforestqa )
1220- Add ` folders ` commands for a folder ID reference. (4ab19fec0924b4764e140fb3c5aa85f1dbfe4006, @epaulet )
Original file line number Diff line number Diff line change @@ -121,7 +121,10 @@ def initialize(args)
121121
122122 if [ 'new' , 'rm' ] . include? ( @command )
123123 @file_name = @args . shift
124- @file_name = File . expand_path ( @file_name ) if @file_name
124+
125+ if @file_name && @command == 'rm'
126+ @file_name = File . expand_path ( @file_name ) if @file_name
127+ end
125128 end
126129
127130 @tests = @args . dup
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22module RainforestCli
3- VERSION = '1.5 .0'
3+ VERSION = '1.6 .0'
44end
Original file line number Diff line number Diff line change 2424 its ( :crowd ) { should == 'some_name' }
2525 end
2626
27+ context 'new' do
28+ let ( :args ) { [ 'new' , 'foo.rfml' ] }
29+ its ( :command ) { should == 'new' }
30+ its ( :file_name ) { should == 'foo.rfml' }
31+ end
32+
2733 context 'rm' do
2834 let ( :args ) { [ 'rm' , 'foo.rfml' ] }
2935 its ( :command ) { should == 'rm' }
You can’t perform that action at this time.
0 commit comments