Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am allanchaplin on github.
  • I am allanchaplin (https://keybase.io/allanchaplin) on keybase.
  • I have a public key ASCk7u99cXmVuaHa1Lgk0o42c_IS7b8nVP4eN8AkDlmk5go

To claim this, I am signing this object:

{(() => {
if(this.isAdmin()) {
return (<span className='h4'> by
<StaffSelector
onChange= { this.handleFilterStaffMemberChange }
value= { state.filterStaffMemberID }
placeholder='All Staff'
staffMembers= {this.props.staticData.all_staff}
/>
</span>)
it "should move a list of file ids and destination folders" do
filebox = mock_model(Filebox)
folder = Folder.create!(:name => "origin_folder", :filebox => @filebox)
dest_folder = Folder.create!(:name => "destination_folder", :filebox => @filebox)
to_move = []
user_files = []
test_files = ["test_data_1.txt", "test_data_2.txt", "test_data_3.txt"]
test_files.each do |test_file|
temp_file = mock("UploadedTempFile", :original_filename => test_file,
:read => "my file contents",