|
|
@ -32,7 +32,7 @@ fn it_copies_a_readme_default_path() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#[test] |
|
|
|
#[test] |
|
|
|
fn it_creates_a_package_json_provided_path() { |
|
|
|
fn it_copies_a_readme_provided_path() { |
|
|
|
let fixture = fixture::js_hello_world(); |
|
|
|
let fixture = fixture::js_hello_world(); |
|
|
|
let out_dir = fixture.path.join("pkg"); |
|
|
|
let out_dir = fixture.path.join("pkg"); |
|
|
|
fs::create_dir(&out_dir).expect("should create pkg directory OK"); |
|
|
|
fs::create_dir(&out_dir).expect("should create pkg directory OK"); |
|
|
|