Allow multiple recordings within session

change in recording flow. Now after stopping the recording we no longer ask
user to save or discard the recording, instead the app saves the recording to user's
computer and opens the file explorer to that folder.
therefore following scenario is no longer valid; hence skipping it.
This commit is contained in:
Nuwan 2023-08-19 11:03:29 +05:30
parent 701620089a
commit d8d04dd33f
3 changed files with 7 additions and 3 deletions

View File

@ -33,7 +33,7 @@ module JamRuby
dependent: :destroy
validate :not_already_recording, :on => :create
validate :not_still_finalizing_previous, :on => :create
#validate :not_still_finalizing_previous, :on => :create
validate :not_playback_recording, :on => :create
validate :already_stopped_recording
validate :only_one_mix

View File

@ -533,7 +533,11 @@ describe Recording do
@user.first_recording_at.should_not be_nil
end
describe "chance for everyone to keep or discard" do
#NOTE: change in recording flow. Now after stopping the recording we no longer ask
#user to save or discard the recording, instead the app saves the recording to user's
#computer and opens the file explorer to that folder.
#therefore following scenario is no longer valid; hence skipping it.
xdescribe "chance for everyone to keep or discard" do
before(:each) do
@user2 = FactoryGirl.create(:user)
@connection2 = FactoryGirl.create(:connection, :user => @user2, :music_session => @music_session)

View File

@ -57,7 +57,7 @@ if accessOpener
$root.find('#recording-input-audio').iCheck('check').attr('checked', true)
onMixersChanged: (mixers) ->
this.setState(chatMixer: mixers.chatMixer)
this.setState(chatMixer: mixers.chatMixer)
onRecordingStateChanged: (recordingState) ->
if @unloaded